package com.my.study.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * @author: yidujun
 * @create: 2021/07/26 10:05
 */
@Data
@Configuration
@ConfigurationProperties(prefix = "elastic-search")
public class ElasticSearchConfig {

    private String server;

    private int port;
}
